#include <iostream>
/**
* CodeBlockda Projects > Build options > Search Directories > Compiler ga include ko'rsatilgan
*/
#include "CIp.h"

using namespace std;

int main()
{
    CIp cIp;
    char ip[] = "80.80.218.255";
    if (cIp.IsIp(ip))
        cout<<"To'g'ri"<<endl;
    else
        cout<<"Noto'g'ri"<<endl;

    char cidr[] = "80.80.218.103/20";
    if (cIp.IsCidr(cidr))
        cout<<"To'g'ri"<<endl;
    else
        cout<<"Noto'g'ri"<<endl;

    cIp.IpInCidr(ip, cidr);
    return 0;
}


